// import epgmsRequest from "../index";

// export const login = (data) => {
//   return epgmsRequest({
//     url: "/account/login.json",
//     method: "post",
//     data,
//   });
// };

import axios from "@/utils/axios";
import* as baseURL from "@/api/url";

export function login(data) {
  return axios({
      url: baseURL.police_login_url,
      method: "post",
      data
  });
}